﻿using YAPACS.BusinessObjects.Exams;
using YAPACS.Organizations;

namespace YAPACS.RisServer.Abstractions;

public interface IExamPermissionService
{
    Task ValidateAsync(Exam exam, bool isValidateExpertGroup = false);

    Task<bool> IsValidAsync(Exam exam, bool isValidateExpertGroup = false);

    Task ValidateAsync(Exam exam, ApplicationUser user);

    Task<bool> IsValidAsync(Exam exam, ApplicationUser user);
}
